-- GENERATED SPELL FOR [Elekk Demolisher] --


function spell0_21802(pUnit, Event) --@Rampaging Stomp,n/a--
pUnit:FullCastSpellOnTarget(38045,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21802', 1500, 1)
end

function Sorts_21802(pUnit, Event)
local choix_sorts_21802 = math.random(0, 0)
if choix_sorts_21802 == 0 then
pUnit:RegisterEvent('spell0_21802', 1, 1)
end
end

function mob21802_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21802', math.random(1500, 3000), 1)
end

function mob21802_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21802_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21802_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21802, 1, 'mob21802_Action')
RegisterUnitEvent(21802, 2, 'mob21802_Leave')
RegisterUnitEvent(21802, 3, 'mob21802_Kill')
RegisterUnitEvent(21802, 4, 'mob21802_Die')
